
from curd_demo.models import CrudDemoModel
from dvadmin.utils.serializers import CustomModelSerializer

class CrudDemoModelSerializer(CustomModelSerializer):
    class Meta:
        model = CrudDemoModel
        fields = "__all__"


class CrudDemoModelCreateUpdateSerializer(CustomModelSerializer):
    class Meta:
        model = CrudDemoModel
        fields = "__all__"